package mylibrary.io.jichu.pipeStream;

public class Test {

	public static void main(String[] args) {
		
		Sender send = new Sender();
		Receiver receive = new Receiver();
		
		try {
			send.getOut().connect(receive.getInput());
		} catch (Exception e) {
			e.printStackTrace();
		}
		
		new Thread(send).start();
		
		new Thread(receive).start();
	}
}
